Configure Global Mirroring Actions with an ACL

Configure the global action to mirror packets that match an access control list (ACL).

Before you begin

  • The ACL exists.

Procedure

  1. Enter Global Configuration mode:

    enable

    configure terminal

  2. Configure the global action for an ACL:

    filter acl set <1-2048> global-action {monitor-dst-mlt <1–512>|monitor-dst-ports {sub-port]][,...][slot/all][all]}

Example

Configure the global action for an ACL:

Switch:1> enable
 Switch:1#configure terminal
Switch:1(config)#filter acl set 200 global-action monitor-dst-mlt 20

Variable Definitions

The following table defines parameters for the filter acl set command.

Variable

Value

<1-2048>

Specifies an ACL ID from 1–2048.

default-action <deny|permit>

Specifies the global action to take for packets that do not match an ACL.

global-action {monitor-dst-mlt PT_MLT<1–512>|monitor-dst-ports {slot/port[/sub-port][-slot/port[/sub-port]][,...][slot/all][all]}

Specifies the global action to take for matching ACLs:

  • monitor destination MLT—Configures mirroring to a destination MultiLink Trunking (MLT) group.

  • monitor destination ports—Configures mirroring to a destination port or ports.